home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000553_blitz-list-request_Thu Sep 1 00:57:20 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  2KB

  1. Received: from iconz.co.nz (iconz.co.nz [202.14.100.2]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id AAA08883 for <blitz-list@helsinki.fi>; Thu, 1 Sep 1994 00:57:01 +0300
  2. Received: (acid@localhost) by iconz.co.nz (8.6.6.Beta6/8.6.6.Beta6) id JAA03428; Thu, 1 Sep 1994 09:51:00 +1200
  3. Date: Thu, 1 Sep 1994 09:50:59 +1200 (NZST)
  4. From: Acid Software <acid@iconz.co.nz>
  5. Subject: Re: Mem Fragmentation - half solved
  6. To: "Ott M. Aaloe" <OTT@microlnk.ml.ee>
  7. cc: blitz-list@helsinki.fi
  8. In-Reply-To: <8BA4F8626C@microlnk.ml.ee>
  9. Message-ID: <Pine.3.89.9409010943.B3234-0100000@iconz.co.nz>
  10. MIME-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=US-ASCII
  12. X-Status: 
  13. Status: RO
  14.  
  15.  
  16.  
  17. On Wed, 31 Aug 1994, Ott M. Aaloe wrote:
  18.  
  19. > > wo how about starting a new line once in a while ott! Anyway, the bitmap 
  20. > > structure for blitz is just the object size, there is a pointer in this 
  21. > > object that point to chipmem, be it a screensbitmap your bitmap or a 
  22. > > cludged bitmap. cludgebitmap does not allocate ANY memory, instead uses 
  23. > > withwords*height*bitplanes amount of the memory you supplied
  24. > So if need to cludge bitmap I do next??
  25. > 1. Alooc chip
  26. > 2. Load pure bitmpadata into it
  27. > 3. Cludge bitmap #, addr,x,y etc.
  28. > Now I should have bitmap obkect created by cludgebitmap. Am I right?
  29. >
  30.  
  31. Most of the time you allocate a large bit of memory and cludge ALL your 
  32. bitmaps into it, so you are never freeing them, in skid we have the huge 
  33. scrolling playfield, this memory is also used for all the front end 
  34. bitmaps so the same memory is allocated to more than one bitplane, works 
  35. good if you only use one at a time and we don't have to free and 
  36. initialise bitmaps at all.
  37.  
  38.  > 
  39. > > v1.9 contains decode commands that allow you to incbin sound, shapes etc 
  40. > > into your program and then decode them, although these commands are 
  41. > > accessible in RILibs and Elmore's include library I have decided to 
  42. > > internalise them so that memory usage is both tight and tidy (minimum 
  43. > > requirements and least amount of fragmenting), hmmm, 
  44. > Next question is where can I get V1.9 ;)???
  45.  
  46. It is in w0:Blitz2/m on my A4000!!!